{ config, pkgs, lib, ... }:

{
    # Link /share/zsh
    #environment.pathsToLink = [ "/share/zsh" ];
    programs.neovim.defaultEditor = true; # 这里会安装neovim
    environment.systemPackages = with pkgs; [
      coreutils
      curl
      dnsutils
      dosfstools
      emacs-gtk
      file
      gcc
      git
      iputils
      killall
      less
      libtool
      man-pages
      #neovim
      pkg-config
      shellcheck
      sqlite
      tree
      utillinux
      wget
    ]
     ++ (with pkgs.gst_all_1; [
        gstreamer
        gst-plugins-base
        gst-plugins-good
        gst-plugins-bad
        gst-plugins-ugly
        gst-libav
        gst-vaapi
  ]);

    environment.sessionVariables = {
#        WINIT_UNIX_BACKEND = "wayland";
        XDG_CACHE_HOME  = "$HOME/.cache";
        XDG_CONFIG_HOME = "$HOME/.config";
        XDG_DATA_HOME   = "$HOME/.local/share";
        XDG_STATE_HOME  = "$HOME/.local/state";
       # DOTNET_ROOT = "${pkgs.dotnet-sdk}";
       # BOOST_ROOT = "${pkgs.boost}";
       # OpenCV_DIR = "${pkgs.opencv}";
    };
}
